<!DOCTYPE html>
<html><head lang="en"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <!-- 包含头部信息用于适应不同设备
     width 属性控制设备的宽度。假设您的网站将被带有不同屏幕分辨率的设备浏览，那么将它设置为 device-width 可以确保它能正确呈现在不同设备上。
     nitial-scale=1.0 确保网页加载时，以 1:1 的比例呈现，不会有任何的缩放。
     通常情况下，maximum-scale=1.0 与 user-scalable=no 一起使用。这样禁用缩放功能后，用户只能滚动屏幕，就能让您的网站看上去更像原生应用的感觉。
    -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <script type="text/javascript" src="<?php echo base_url();?>lib/jquery/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="<?php echo base_url();?>lib/bootstrap-3.3.0/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="<?php echo base_url();?>src/common.js"></script>
    <script type="text/javascript" src="<?php echo base_url();?>src/template2index.js"></script>
    <!-- 包含 bootstrap 样式表 -->
    <link rel="stylesheet" href="<?php echo base_url();?>lib/bootstrap-3.3.0/css/bootstrap.min.css">
    <!--状态栏和导航栏的样式-->
    <link rel="stylesheet" href="<?php echo base_url();?>navigation.css">

    <title>模板二</title>
    <style rel="stylesheet">
    body, div, p, span, img, button {
        margin: 0px;
        padding: 0px;
        border: none;
    }
    body {
        background-color: rgb(250, 214, 40);

    }
    #container, #container div {
        margin: 0px;
        padding: 0px;
    }
    #line {
        height: 2px;
        width: 100%;
        background-color: #eeeeee;
    }
    #container #menuBar div {
        text-align: center;
        height: 47px;
        line-height: 47px;
        background-color: #ffffff;
    }

    #container #div_centerImg {
        width: 100%;
        height: 233px;
        overflow: hidden;
        text-align: center;
    }
    #container #centerImg {
        width: 100%;
        height: 233px;
    }
    #container #div_title {
        margin: 215px 90px 0px 14px;
        margin-top: 30px;
        font-size: 24px;
    }
    #container #div_blackLine {
        background-color: #000000;
        height: 2px;
        margin: 44px 0px 78px 14px;
    }
    </style>
</head>
<body>
    <div class="container-fluid" id="container">
        <div id="header_title">模板二</div>

        <div id="line"></div>
        
        <!-- 菜单栏 start-->
        <div class="row" id="menuBar">
            <a href="<?php if ($static) {echo $base_url."1.html";} else {echo "javascript:viod(0)";} ?>">
        	   <div class="col-xs-3" id="menu_pic">图文</div>
            </a>
            
            <a href="<?php if ($static) {echo $base_url."2.html";} else {echo "javascript:viod(0)";} ?>">
            	 <div class="col-xs-3" id="menu_info">栏目介绍</div>
            </a>

            <a href="<?php if ($static) {echo $base_url."3.html";} else {echo "javascript:viod(0)";} ?>">
            	 <div class="col-xs-3" id="menu_comment">留言板</div>
            </a>

            <a href="<?php if ($static) {echo $base_url."4.html";} else {echo "javascript:viod(0)";} ?>">
            	 <div class="col-xs-3" id="menu_FAQ">FAQ</div>
            </a>
            
        </div>
        <!-- 菜单栏 end-->
        <div id="div_centerImg">
            <img id="centerImg" class="img-responsive" src="<?php echo base_url()?><?php if($img_path){echo $img_path;}else{ echo 'res/images/template2/template2_centerImg.png';}?>">
<!--             <img id="centerImg" src="<?php echo base_url();?>res/images/template1_thumb.png">
    
 -->        </div>
        <div id="div_title"><p>
            <?php if($img_name){ echo $img_name; }else{ echo "Conde Nast Traveler 2014 Reader's Choice Awards"; }?>
        </p></div>
        <div id="div_blackLine"></div>
		<from>
	    <input type="hidden" name="site_id" id="site_id" value="<?php echo $site_id;?>" />
		<input type="hidden" name="t_id" id="t_id"  value="<?php echo $t_id;?>" />
		<input type="hidden" name="color" id="color" value="<?php echo $color;?>" />
		</from>
        <input type="hidden" name="static" id="static" value="<?php echo $static;?>" />
    </div>
    <?php if (!$static) { ?>
    <!-- 下一步 -->
    <div class="contaienr-fluid" id="footer_row">
        <div class="row">
            <div class="col-xs-6 text-center" id="nav_back">返回</div>
            <div class="col-xs-6 text-center" id="nav_next">下一步</div>
        </div>
    </div>
    <?php } ?>

</body>
</html>

